local rongwei = fk.CreateSkill{
    name = "jinhs__rongwei",
}

Fk:loadTranslationTable{
    ["jinhs__rongwei"] = "戎卫",
    [":jinhs__rongwei"] = "每回合限一次，当你成为【杀】或者普通锦囊牌的唯一目标时，若你处于连环状态，你可以与此牌使用者各摸一张牌，然后令此牌对你无效。",

    ["$jinhs__rongwei1"] = "卫襄樊百年，吾将戍守。",
    ["$jinhs__rongwei2"] = "戍荆州十载，固若金汤。",
}

rongwei:addEffect(fk.TargetConfirming,{
    anim_type = "defensive",
    can_trigger = function (self, event, target, player, data)
        return target == player and player:hasSkill(rongwei.name) and (data.card.trueName == "slash" or data.card:isCommonTrick())
        and player.chained and data:isOnlyTarget(player) and data.from and not data.from.dead and player:usedSkillTimes(rongwei.name, Player.HistoryTurn) == 0
    end,
    on_use = function (self, event, target, player, data)
        player:drawCards(1, rongwei.name)
        data.from:drawCards(1, rongwei.name)
        data:cancelTarget(player)
    end,
})

return rongwei